Using the Object Type Filter
Object Type Filter collects 3D nodes based on their type. For example, use the Object Type Filter to collect Light nodes in your project.
To use the Object Type Filter:
- In the Library press Alt and right-click Rendering > Object Sources and select Object Type Filter.
- In the Properties set:
- Source to the source from where you want to collect nodes for filtering.
For example, to apply your filter to all nodes in your project, select Root Object Source. You can select the output of another filter as the source from where you collect nodes for filtering. - Type to the type of node you want the filter to collect.
For example: - Operation to either:
- Include to collect the nodes of the type that you set in the Type property.
- Exclude to leave out the nodes of the type that you set in the Type property.
- To take the Object Type Filter into use, in the Draw Objects Render Pass or Draw Objects With Material Render Pass that you use to render the 3D nodes to which you want to apply the filter, set the Object Source property to the Object Type Filter or to an object source which collects the Object Type Filter.
For example:
-
In the Library > Rendering > Render Passes create a Group Render Pass and inside it create:
- Clear Render Pass
- Draw Objects Render Pass
- In the Library select the Draw Objects Render Pass that you created and in the Properties set the Object Source property to the filter that you created or to an object source which collects the filter. See Using object sources.
- In the Project select the Scene node to which you want to apply the filter and in the Properties set the Render Pass property to the Group Render Pass whose child Draw Objects Render Pass uses as its object source the filter you created.
Kanzi Studio renders the nodes collected by the filter.
Using Object Type Filter filters in the API
For details, see the KzuObjectTypeFilter
class in the API reference.
See also
Using the Contains Property Filter
Using the Property Is Equal Filter
Using the Sorting Filter
Using the Tag Filter
Filters
Rendering
Using object sources
Open topic with navigation